Přeskočit na hlavní obsah

Module: app/login/Login

Functions​

default​

▸ default(): Element

Login form which includes all the necessary logic.

If the user is already logged in, they are redirected to the page they came from (or to a default page). If the user is not logged in, they are presented with a login form and then they are redirected to the page they came from (or to a default page). Choice of the default redirect depends on the user's role.

Returns​

Element

Defined in​

src/web-app/src/app/login/Login.tsx:20